#ifndef BAG_H
#define BAG_H
#include "Logic/LogicTypeDef.h"
#include "logic/ItemContainer.h"

class Item;
class Bag : public ItemContainer
{
public:
	friend class BagFinder;
	Bag();
	~Bag();
	enum
	{
		Bag_Size = 10,
	};
};

class BagFinder
{
public:
	void init(Bag* bag,int type);
	Item* nextItem();
private:
	Bag* m_bag;
	int  m_itemtype; 
};

#endif
